﻿CREATE TABLE [dbo].[onco_Setup] (
    [PrimaryKey]                 SMALLINT CONSTRAINT [DF_onco_Setup_PrimaryKey] DEFAULT ((0)) NOT NULL,
    [CodUnitate]                 SMALLINT CONSTRAINT [DF_onco_Setup_CodUnitate] DEFAULT ((0)) NOT NULL,
    [AfiseazaProprietarDocument] BIT      CONSTRAINT [DF_onco_Setup_AfiseazaProprietarDocument] DEFAULT ((0)) NOT NULL,
    [AfiseazaSemnaturiTiparire]  BIT      CONSTRAINT [DF_onco_Setup_AfiseazaSemnaturiTiparire] DEFAULT ((1)) NOT NULL,
    CONSTRAINT [PK_onco_Setup] PRIMARY KEY CLUSTERED ([PrimaryKey] ASC, [CodUnitate] ASC),
    CONSTRAINT [FK_onco_Setup_Unitati] FOREIGN KEY ([CodUnitate]) REFERENCES [dbo].[Unitati] ([CodUnitate])
);

